package com.da.lon.wang.xlg.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.da.lon.wang.xlg.R;
import com.da.lon.wang.xlg.adapter.FashionLifeAdapter;
import com.da.lon.wang.xlg.view.ScrollListView;
import com.umeng.analytics.MobclickAgent;

public class FashionLifeFragment extends BaseFragment {

    private ScrollListView sListView;
    private View view;

    public void onResume() {
        super.onResume();
        MobclickAgent.onPageStart("FashionLifeFragment");
        MobclickAgent.onResume(getActivity());
    }

    public void onPause() {
        super.onPause();
        MobclickAgent.onPageEnd("FashionLifeFragment");
        MobclickAgent.onPause(getActivity());
    }

    @Override
    public void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
    }

    @Override
    protected View inflateView(LayoutInflater inflater, ViewGroup var2) {
        // TODO Auto-generated method stub
        view = inflater.inflate(R.layout.ocoffee_party_fashionlife_fragment,
                null);
        return view;
    }

    @Override
    protected void initView() {
        // TODO Auto-generated method stub
        initView(view);

    }

    private void initView(View view) {
        // TODO Auto-generated method stub
        sListView = (ScrollListView) view
                .findViewById(R.id.fashionlife_listview);
        sListView.setAdapter(new FashionLifeAdapter(getActivity()));
    }

    @Override
    protected void RefreshData() {
        // TODO Auto-generated method stub

    }

}
